package com.smen.boot.task;

import org.springframework.stereotype.Component;

/**
 * @author Smen Lee
 * @PROJECT_NAME myspringboot
 * @TIME 2017/1/3 10:39
 */
@Component
public class DateTask {
   /* SimpleDateFormat format = new SimpleDateFormat("yy-MM-dd hh:mm:dd:ss E");
    @Scheduled(cron="*//*5 * * * * *")
    public void myTaskTest(){
        Date date = new Date();
        System.out.println("----SmenLee---TaskTest---myTaskTest---date值为:" + format.format(date));
    }*/
}
